-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Update Docker workflow to build-push-action v2 #1441
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1441 +/- ##
=======================================
Coverage 97.63% 97.63%
=======================================
Files 63 63
Lines 3967 3967
Branches 555 555
=======================================
Hits 3873 3873
Misses 55 55
Partials 39 39
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
The update was pretty confusing at first, but the new workflow is actually way nicer IMO, so I think Docker did a good job here. 👍 |
* Remove load from docker/build-push-action@v2 action publish steps - load and push can not be used in the same step - load option: Shorthand for --output=type=docker * Amends PR #1441
This is done now. |
Description
Update Docker workflow to use
docker/login-action@v2
workflow API.v1
tov2
Update guideDOCKERHUB_TOKEN
) to improve securityAlso update the base image to
python:3.8-slim
.This additionally added the GitHub related secrets:
DOCKERHUB_USERNAME
DOCKERHUB_TOKEN
which means that after this PR is merged the secrets
DOCKER_USERNAME
DOCKER_PASSWORD
should be removed from the repo.
Checklist Before Requesting Reviewer
Before Merging
For the PR Assignees: